using System;
using Terra.Data.Entities;

namespace Terra.Data.Entities.Identity;

/// <summary>
/// 用户声明实体
/// </summary>
public class UserClaim : EntityBase<Guid>
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid UserId { get; set; }

    /// <summary>
    /// 声明类型
    /// </summary>
    public string ClaimType { get; set; }

    /// <summary>
    /// 声明值
    /// </summary>
    public string ClaimValue { get; set; }

    /// <summary>
    /// 用户
    /// </summary>
    public virtual User User { get; set; }
}